<template>
  <div class="box">
    <h1>超市百货页面</h1>
    <v-card :arr="chaoshi"></v-card>
  </div>
</template>

<script>
import vCard from "./vCard.vue";
export default {
  components: {
    vCard
  },
  data() {
    return {
      chaoshi: [
        {
          id: 1,
          img:
            "https://img10.360buyimg.com/babel/s150x150_jfs/t1/43812/18/15963/166797/61307df9E7ccdf7bd/ce4cfaeea71fd599.jpg.webp",
          name: "洗脸巾",
          price: 23
        },
        {
          id: 2,
          img:
            "https://img30.360buyimg.com/babel/s150x150_jfs/t1/90743/6/15746/233700/5e7356afEc7279010/6c12aab3781da03d.jpg.webp",
          name: "茅台",
          price: 999
        }
      ]
    };
  }
};
</script>

<style>
</style>